#!/bin/bash
mkdir -p /var/www/html/
cp ../../pst-shop /var/www/html/app
echo start install docker 
sudo apt-get install docker.io
echo start dowoload docker mirrors
docker pull registry.cn-hangzhou.aliyuncs.com/orchief/lnmp:new
echo download finished.
echo start container
docker run -it -p 8081:8080 -v /var/www/html:/var/www/html -p 3307:3307 registry.cn-hangzhou.aliyuncs.com/orchief/lnmp:new /home/start.sh